﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package Engine.Transactions {

    public class TSendNotification extends Transaction {

        protected var m_targetUserIds:Array;
        protected var m_params:Array;
        protected var m_action:String;

        public function TSendNotification(_arg1:String, _arg2:Array, _arg3:Array){
            this.m_targetUserIds = [];
            this.m_params = [];
            super();
            this.m_action = _arg1;
            this.m_params = _arg2.concat();
            this.m_targetUserIds = _arg3.concat();
        }
        override public function perform():void{
            var _local2:int;
            var _local1:Array = new Array();
            if (this.m_targetUserIds){
                _local2 = 0;
                while (_local2 < this.m_targetUserIds.length) {
                    _local1.push(this.m_targetUserIds[_local2].toString());
                    _local2++;
                };
            };
            signedCall("UserService.sendUserNotification", this.m_action, this.m_params, _local1);
        }

    }
}//package Engine.Transactions 
